package net.maku.events.convert;

import net.maku.events.entity.ActivityContestQuestionOptionEntity;
import net.maku.events.vo.ActivityContestQuestionOptionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 竞赛答题选项
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface ActivityContestQuestionOptionConvert {
    ActivityContestQuestionOptionConvert INSTANCE = Mappers.getMapper(ActivityContestQuestionOptionConvert.class);

    ActivityContestQuestionOptionEntity convert(ActivityContestQuestionOptionVO vo);

    ActivityContestQuestionOptionVO convert(ActivityContestQuestionOptionEntity entity);

    List<ActivityContestQuestionOptionVO> convertList(List<ActivityContestQuestionOptionEntity> list);

}